Producing EAM code from the WAM
نویسندگان
چکیده
Logic programming provides a very high-level view of programming, which comes at the cost of some execution inefficiency. Improving performance of logic programs is thus one of the holy grails of Prolog system implementations and a wide range of approaches have historically been taken towards this goal. Designing computational models that both exploit the available parallelism in a given application and that try hard to reduce the explored search space has been an ongoing line of research for many years. These goals in particular have motivated the design of several computational models, one of which is the Extended Andorra Model (EAM). In this paper, we present a preliminary specification and implementation of the EAM with Implicit Control, the WAM2EAM, which supplies regular WAM instructions with an EAM-centered interpretation.
منابع مشابه
Casting of the WAM as an EAM
Logic programming provides a very high-level view of programming, which comes at the cost of some execution efficiency. Improving performance of logic programs is thus one of the holy grails of Prolog system implementations and a wide range of approaches have historically been taken towards this goal. Designing computational models that both exploit the available parallelism in a given applicat...
متن کاملContinuation Prolog: A new intermediary language for WAM and BinWAM code generation
We present a new intermediary language suitable for program transformations that fills the gap between Prolog source level and lower representations like binary Prolog or WAM-code. With the help of Continuation Prolog transformations on the level of continuations can be expressed that are unavailable in the usual settings of WAM-code generation.
متن کاملTranslating Prolog to C: a WAM-based approach
A translator from Prolog to C (or C++) can be used as a very e ective tool for performing multiparadigm programming. In [4], we have argued in favour of translation-based multi-paradigm programming. We illustrated how C++ and Prolog could be used advantageously together to build a demonstration compiler. We are now directing our e orts to improving the quality of the translation. Many Prolog sy...
متن کاملProtection against experimental autoimmune myocarditis is mediated by interleukin-10-producing T cells that are controlled by dendritic cells.
Experimental autoimmune myocarditis (EAM) can be induced in the Lewis rat by cardiac myosin or its cryptic S2-16 peptide epitope (amino acids 1052 to 1076). To investigate cellular mechanisms and the role of antigen-presenting cells in regulation of myocarditis, we induced protection against EAM in Lewis rats by administration of S2-16 peptide in incomplete Freund's adjuvant (IFA). Protection t...
متن کاملInterprocedural Register Allocation for the WAM based on Source to Source Transformations
An approach for interprocedural register allocation for the WAM is presented which is based on source-to-source transformations of an intermediary language called Continuation Prolog. Continuation Prolog fills the conceptual gap between Prolog source code and the underlying abstract machine. Our approach does not require an analysis of the whole program. Only the definition of a predicate must ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2010